﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SearchList.aspx.cs" Inherits="Workflow.Project.SearchList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="../Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="../Css/style.css" />
    <link type="text/css" rel="stylesheet" href="../Css/pagination.css" />
    <script type="text/javascript" src="../Js/jquery.js"></script>
    <script type="text/javascript" src="../Js/jquery.sorted.js"></script>
    <script type="text/javascript" src="../Js/bootstrap.js"></script>
    <script type="text/javascript" src="../Js/ckform.js"></script>
    <script type="text/javascript" src="../Js/common.js"></script>

    <script type="text/javascript" src="../Scripts/MyJquery.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.pagination.js"></script>
    <script type="text/javascript" src="../Scripts/Pageination.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin:30px;">
        <%--<span><button id="Search1" type="button" class="btn btn-primary btn-lg">阶段查询</button></span>
          
        <span style="margin-left:30px"><button id="Search2" type="button" class="btn btn-default btn-lg">节点查询</button></span>--%>
        <select style="margin-left:30px" id="select">
            <option value="1">阶段查询</option>
            <option value="2">节点查询</option>
            <option value="3">节点完成率查询</option>
            <option value="4">样品前置审批查询</option>
            <option value="5">样品发货查询</option>
            <option value="6"></option>
        </select>
    </div>
        <iframe id="iframe1" class="iframe" src="SearchMain.aspx" style="border:0;width:100%;height:700px;" runat="server"></iframe>
        <iframe id="iframe2" class="iframe" src="SearchNode2.aspx" style="border:0;width:100%;height:700px;display:none" runat="server"></iframe>
        <iframe id="iframe3" class="iframe" src="SearchNode3.aspx" style="border:0;width:100%;height:700px;display:none" runat="server"></iframe>
        <iframe id="iframe4" class="iframe" src="SearchOrderStart.aspx" style="border:0;width:100%;height:700px;display:none" runat="server"></iframe>
        <iframe id="iframe5" class="iframe" src="SeachSampleOut.aspx" style="border:0;width:100%;height:700px;display:none" runat="server"></iframe>
        <iframe id="iframe6" class="iframe" src="SearchMainAndLog.aspx" style="border:0;width:100%;height:700px;display:none" runat="server"></iframe>

    </form>
    <script>
        $(document).ready(function () {
            $("#select").change(function () {
                if ($(this).val() == "1") {
                    $(".iframe").hide();
                    $("#iframe1").show();
                } else if ($(this).val() == "2") {
                    $(".iframe").hide();
                    $("#iframe2").show();
                } else if ($(this).val() == "3") {
                    $(".iframe").hide();
                    $("#iframe3").show();
                } else if ($(this).val() == "4") {
                    $(".iframe").hide();
                    $("#iframe4").show();
                } else if ($(this).val() == "5") {
                    $(".iframe").hide();
                    $("#iframe5").show();
                } else if ($(this).val() == "6") {
                    $(".iframe").hide();
                    $("#iframe6").show();
                }

            });
            //$("#Search1").click(function () {
            //    $(this).removeClass();
            //    $(this).addClass("btn btn-primary btn-lg");
            //    $("#Search2").removeClass();
            //    $("#Search2").addClass("btn btn-default btn-lg");
            //    $("#iframe1").show();
            //    $("#iframe2").hide();
            //});

            //$("#Search2").click(function () {
            //    $(this).removeClass();
            //    $(this).addClass("btn btn-primary btn-lg");
            //    $("#Search1").removeClass();
            //    $("#Search1").addClass("btn btn-default btn-lg");
            //    $("#iframe2").show();
            //    $("#iframe1").hide();
            //});
        });
    </script>
</body>
</html>
